<?php
namespace My\Model;

use Utuo\UtuoModel;

class DistributionShopCertificateModel extends UtuoModel {
	
	protected $_auto = array(
			array('config', 'getConfig', self::MODEL_BOTH, 'callback'),
	);
	
	public function getConfig() {
		$config = I("config", null);
		if ( !is_array($config) ) {
			$config = null;
		}
		return serialize($config);
	}
	
}